package com.platform.service;

import com.platform.dao.ApiUserVideoMapper;
import com.platform.entity.ApiUserVideoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


/**
 * 会员视频管理Service接口
 *
 * @author zhurusen
 * @email 524227263@qq.com
 * @date 2018-05-15 15:50:15
 */
@Service
public class ApiUserVideoService {

    @Autowired
    private ApiUserVideoMapper apiUserVideoMapper;

    public List<ApiUserVideoVo> selectList(Map<String, Object> params) {
        return apiUserVideoMapper.queryList(params);
    }

    public ApiUserVideoVo selectOne(Long id) {
        return apiUserVideoMapper.queryObject(id);
    }

    public void updata(ApiUserVideoVo apiUserVideoVo) {
        apiUserVideoMapper.update(apiUserVideoVo);
    }

    public void save(ApiUserVideoVo apiUserVideoVo) {
        apiUserVideoMapper.save(apiUserVideoVo);
    }

}
